$themeColor:#161c2a;//主题色

// 背景图片地址和大小
@mixin bis($url,$size) { 
    background-image: url($url);
    background-repeat: no-repeat;
    background-size: $size;
}

@mixin borderRadius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    -o-border-radius: $radius;
    border-radius: $radius;
}

//定义水平垂直居中
@mixin tl($text, $line){
    text-align: $text;
    line-height: $line;
}
//宽高
@mixin wh($width, $height:auto){
    width: $width;
    height: $height;
}

//字体大小，颜色
@mixin sc($size, $color){
    font-size: $size;
    color: $color;
}

//flex 布局和 子元素 对其方式
@mixin fj($type: space-between){
    display: flex;
    justify-content: $type;

}

//一行多余溢出
@mixin txol{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

//两行多余溢出
@mixin txol2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}